package com.isdepci.project.factor.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;

/**
 * 项目标准阶段管理对象 b_standard_stage
 *
 * @author isdepci
 * @date 2024-10-11
 */
public class StandardStage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 父ID默认0 */
    private Long parentId;
    /** 祖级列表 */
    private String ancestors;
    /** 名称 */
    private String name;

    /** 类型 1阶段 2环节 */
    private Integer type;

    /** 状态（1正常 2停用） */
    private Integer status;

    /** 排序 */
    private Integer orderNum;

    public StandardStage(){}
    public StandardStage(Integer status){
        this.status=status;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setParentId(Long parentId)
    {
        this.parentId = parentId;
    }

    public Long getParentId()
    {
        return parentId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setOrderNum(Integer orderNum)
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum()
    {
        return orderNum;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }
}
